//
//  ComputingAngleModel.h
//  制作图标
//
//  Created by mac on 2017/8/31.
//  Copyright © 2017年 yangweiwei. All rights reserved.
//

#import <Foundation/Foundation.h>

enum DirectionOfRotation{

    DirectionOfRotationClockwise,//顺时针
    DirectionOfRotationCounterclockwise,//逆时针
    DirectionOfRotationStraightLine//straight line
};
  bool CircleContainsPoint1(CGRect rect, CGPoint point);
@interface ComputingAngleModel : NSObject
+ (CGFloat)angleForOriginPoint:(CGPoint)originPoint StartPoint:(CGPoint)startPoint EndPoint:(CGPoint)endPoint;
+(NSInteger)accordingToTheThreePointsWhetherClockwiseOrCounterclockwise_OnePoint:(CGPoint)onepoint andTwopoint:(CGPoint)twopoint andThreePoint:(CGPoint)threePoint;
+(float)distanceFromPointX:(CGPoint)start distanceToPointY:(CGPoint)end andOriginPoint:(CGPoint)originPoint;

@end
